package com.example.demo.service;

import com.example.demo.dao.ScheduleDao;
import com.example.demo.model.Schedule;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ScheduleServiceImpl implements ScheduleService {

    @Resource
    ScheduleDao scheduleDao;


    @Override
    public Schedule findSchedule(String Clazz) {
        return scheduleDao.findSchedule(Clazz);
    }
}
